gl: Make all user GdkGLContexts not attached to any window
authorAlexander Larsson <alexl@redhat.com>
Thu, 9 Oct 2014 14:09:05 +0000 (16:09 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Oct 2014 14:43:31 +0000 (10:43 -0400)
commit236d08c3c59a33e1ec4004af0aa4f6095402809a
tree97f52bec25bcf16a41fde91100b80f79fadc8f71
parent62a26eb3c8627c31d823e37141fa31b1280c5184
gl: Make all user GdkGLContexts not attached to any window

We make user facing gl contexts not attached to a surface if possible,
or attached to dummy surfaces. This means nothing can accidentally
read/write to the toplevel back buffer.
gdk/gdkglcontext.c
gdk/gdkwindow.c
gdk/gdkwindowimpl.h
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkglcontext-wayland.h
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkwindow-wayland.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkglcontext-x11.h